home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / Visual Cafe Pro v1.0 / VISCAFE.BIN / VPOJAVA.DLL / SOURCE / SIMPLE < prev    next >
Encoding:
Text File  |  1997-06-19  |  558 b   |  30 lines

  1. /*
  2.     A basic extension of the java.applet.Applet class
  3.  */
  4.  
  5. import java.awt.*;
  6. import java.applet.*;
  7.  
  8. public class Applet1 extends Applet {
  9.  
  10.     public void init() {
  11.         super.init();
  12.  
  13.         // Take out this line if you don't use symantec.itools.net.RelativeURL
  14.         symantec.itools.lang.Context.setDocumentBase(getDocumentBase()); 
  15.  
  16.         //{{INIT_CONTROLS
  17.         setLayout(null);
  18.         // addNotify();
  19.         resize(426,266);
  20.         //}}
  21.     }
  22.  
  23.     public boolean handleEvent(Event event) {
  24.         return super.handleEvent(event);
  25.     }
  26.  
  27.     //{{DECLARE_CONTROLS
  28.     //}}
  29. }
  30.